<form [formGroup]="configForm">
  <ng-tools-alert #alert [options]="alterOption"></ng-tools-alert>
  <div class="form-group row">
    <label for="groupName" class="col-3 col-form-label text-right">组别名称</label>
    <div class="col-7">
      <input id="groupName" formControlName="groupName">
    </div>
  </div>

  <div class="form-group row">
    <label for="autoSendAfterSeconds" class="col-3 col-form-label text-right">发包基础时间</label>
    <div class="col-7">
      <input id="autoSendAfterSeconds" formControlName="autoSendAfterSeconds">
    </div>
  </div>

  <div class="form-group row">
    <label for="downTimes" class="col-3 col-form-label text-right">发包间隔</label>
    <div class="col-7 row" id="timetotime">
      <input class="col-3 ml-3" style="height: 27px" formControlName="downTimes" id="downTimes"><label class="col-1 col-form-label" for="downTimes">Min</label>
      <input class="col-3 ml-4" style="height: 27px" formControlName="upTimes" id="upTimes"><label class="col-1 col-form-label" for="upTimes">Max</label>
    </div>
  </div>

  <div class="form-group row">
    <label for="aotoSnatchRedAfterSeconds" class="col-3 col-form-label text-right">抢包时间</label>
    <div class="col-7">
      <input id="aotoSnatchRedAfterSeconds" formControlName="aotoSnatchRedAfterSeconds">
    </div>
  </div>

  <div class="form-group row">
    <label for="notDeadUserId" class="col-3 col-form-label text-right">免死账号ID</label>
    <div class="col-7">
      <input id="notDeadUserId" formControlName="notDeadUserId" disabled>
    </div>
  </div>

  <div class="row">
    <div class="col-12 text-center">
      <button class="btn btn-sm btn-teal w-50" [disabled]="!configForm.valid" (click)="save()">
        保存信息
      </button>
    </div>
  </div>
</form>